Skip to content

program: Add explicit ownership checks#56

Merged
febo merged 1 commit into
mainfrom
febo/ownership-check
May 15, 2026
Merged

program: Add explicit ownership checks#56
febo merged 1 commit into
mainfrom
febo/ownership-check

Conversation

@febo
Copy link
Copy Markdown
Contributor

@febo febo commented May 15, 2026

Problem

Currently the program accepts using any account as a source buffer, but it still needs to follow the expected header layout. It would be better to enforce that any buffer account needs to be program owned.

Solution

Add explicit ownership checks.

@febo febo requested review from joncinque and lorisleiva May 15, 2026 08:58
Copy link
Copy Markdown
Member

@lorisleiva lorisleiva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@febo febo merged commit 1498ef9 into main May 15, 2026
9 checks passed
@febo febo deleted the febo/ownership-check branch May 15, 2026 14:48
Copy link
Copy Markdown
Contributor

@joncinque joncinque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants